package com.xr.common.constant;

/**
 *  小程序常量定义
 */
public class MiniProgramConstants {
    /**
     * 服务菜单 级别
     */
    public static Long MENU_LEAVE_1 = 0L;
    public static Long MENU_LEAVE_2 = 1L;

    public static Integer MENU_DEFAULT_LEAVE_1 = 0;

    public static int SUCCESS_LOGIN = 2000;

    public static int NEW_USER = 2001;

    public static boolean LOGIN_NEW_USER = true;

    public static boolean LOGIN_OLD_USER = false;

    /**
     * 地址 默认状态
     */
    public static Integer ADDRESS_DEFAULT = 1;
    public static Integer ADDRESS_NOT_DEFAULT = 0;

    /**
     * 性别
     */
    public static Long SEX_FEMALE = 0L;
    public static Long SEX_MALE = 1L;
    public static Long SEX_UNKNOWN = 2L;
    /**
    * 搜索类型
    * 1：销量
    * 2：好评
    * 3：优惠
    * */
    public static Long SEARCH_TOPIC_1 = 1L;
    public static Long SEARCH_TOPIC_2 = 2L;
    public static Long SEARCH_TOPIC_3 = 3L;

    /**
     * 评论类别
     * 1 全部
     * 2 好评
     * 3 差评
     * 4 一般
     * 标准量
     */
    public static Long COMMENT_STANDARD = 3L;
    public static Long COMMENT_ALL= 1L;
    public static Long COMMENT_GOOD = 2L;
    public static Long COMMENT_BAD = 3L;
    public static Long COMMENT_MIDDLE = 4L;

    /**
     * 协议类别
     * 用户协议 1
     * 隐私政策 2
     */
    public static Long AGREE_AGREEMENT = 1L;
    public static Long AGREE_POLICY = 2L;


}
